#!/usr/bin/env bash
cd `dirname $0`
NOW=$(date +"%Y-%m-%d-%H%M%S")
rsync -e"ssh -p 2222" -avzu jahv@nas.cjahv.com:'/data/latest/*' ~/Documents/Projects/ --log-file=`pwd`/logs/d1-${NOW}.log
rsync -e"ssh -p 2222" -avzu jahv@nas.cjahv.com:'/data/latest/.rsync-time-sync' ~/Documents/Projects/ --log-file=`pwd`/logs/d2-${NOW}.log
